Generate social media preview cards for the documentation#132101
Generate social media preview cards for the documentation#132101AA-Turner merged 7 commits intopython:mainfrom
Conversation
1ef8448 to
9533953
Compare
hugovk
left a comment
There was a problem hiding this comment.
As #129120 (comment), we'll only generate images for the docs server, but here's indicative times, and they're very similar to before.
Read the Docs:
macOS:
- Without images: 38s
- With images: 48s
This reverts commit 9533953.
|
Thanks @AA-Turner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Sorry, @AA-Turner, I could not cleanly backport this to |
…honGH-132101) (cherry picked from commit 561965f) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
GH-132344 is a backport of this pull request to the 3.13 branch. |
|
Replaces #129120, requires python/docsbuild-scripts#242, closes python/docsbuild-scripts#147.
This generates a
Doc/build/html/_images/social_previews/directory of ~500.pngimages (one per page; ~40MB). Per Hugo's comment in GH-129120, it removes HTML from the page head like:And adds:
A
📚 Documentation preview 📚: https://cpython-previews--132101.org.readthedocs.build/